import api from '@/api'



export let addCollege = (data) => {
  return api.post('/college/add', data)
}

export let getCollegeList = () => {
  return api.get('/college/list')
}

export let findByUserNameIsAdmin = (collegeName) => {
  return api.get(`/college/findByUserNameIsAdmin/${collegeName}`)
}


